home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 1 / Precision Software Applications Silver Collection Volume One (PSM) (1993).iso / tutor / dosguide.exe / HELPDOS.ZIP / TERMSD-E.HLP < prev    next >
Text File  |  1985-09-03  |  4KB  |  81 lines

  1. #Default Drive:  The disk drive that will be used by default.  In most DOS
  2. commands, if you omit the drive letter, DOS assumes the default drive is to be
  3. used.  The DOS prompt "d>", where "d" is a letter indicates which drive is the
  4. default.
  5.  
  6. For example,  A>  means drive A is the default.
  7.  
  8. You may change the default drive by entering the drive letter followed by a
  9. colon.
  10.  
  11. For example, to change the default drive from A to B, enter:
  12.  
  13.          B: [Return]
  14.  
  15.    The DOS prompt will now show B>
  16. #Device Names:  Standard names used by DOS to identify hardware devices.
  17.  
  18.      CON           - console (keyboard/screen)
  19.      COM1 (or AUX) - first asynchronous communications port
  20.      COM2          - second asynchronous communications port
  21.      LPT1 (or PRN) - first parallel printer
  22.      LPT2          - second parallel printer
  23.      LPT3          - third parallel printer
  24.      NUL           - nonexistent device for application testing
  25. #Directory:  A file used by DOS to keep track of files and subdirectories.  The
  26. directory contains the names of files, their size (in bytes), the time and date
  27. they were last written and the names of any subdirectories.  The DIR (Directory)
  28. command displays directory information.
  29.  
  30. See also CURRENT DIRECTORY, DIRECTORY PATH and SUBDIRECTORY.
  31. #Directory Path:  A series of directory names which tell DOS where to find a
  32. particular directory.  The directory path begins with the name of a subdirectory
  33. of the current directory, or with the root directory (indicated with a "\").
  34. The last directory in the directory path is the directory to be used.
  35.  
  36. The maximum length of a directory path, (including \ characters) is 63
  37. characters.
  38.  
  39. If a directory path is followed by a filename, you must place a \ between the
  40. last directory name and the filename.
  41.  
  42. EXAMPLES:
  43.  
  44. \BUDGET\DATA\MYFILE.DAT - specifies that the file MYFILE.DAT is to be used.
  45. MYFILE.DAT is in the DATA directory.  DATA is a subdirectory of the BUDGET
  46. directory.  BUDGET is a subdirectory of the root (\) directory.
  47.  
  48. DATA\MYFILE.DAT - specifies that the file MYFILE.DAT is to be used.  MYFILE.DAT
  49. is in the DATA directory.  DATA is a subdirectory of the current directory.
  50. #DOS:  Disk Operating System.  DOS provides the instructions necessary for the
  51. computer to operate.  It also contains a set of utility tools (Commands, the
  52. Batch Facility, Special Keyboard keys and others) which allow you organize and
  53. manage your applications.
  54. #Drive Letter:  A letter which identifies a disk drive to DOS.  Each drive is
  55. assigned a drive letter.  On a single drive system, the drive is assigned "A".
  56. On a two drive system the left drive is "A" and the right drive is "B".  A fixed
  57. drive is known as "C".
  58. #End-Of-File-Marker:  A special ASCII code used by DOS to denote the end of a
  59. file.  This character is Ctrl-Z (Hex 1A).
  60. #Exit Code:  A numeric value produced by some DOS commands which indicates what
  61. occurred during the command's execution.  This is useful in batch files to
  62. allow action to be taken based upon the success or failure of a command.  For
  63. example, the RESTORE command has these exit codes:
  64.  
  65.     0 - Normal completion           3 - Terminated by user
  66.     1 - No files found to restore   4 - Terminated due to error
  67.  
  68. When the RESTORE command finishes, it sets the ERRORLEVEL variable to the exit
  69. code value.  The Batch Subcommand IF may then be used to test the value of
  70. ERRORLEVEL and take appropriate action.
  71. #External Command:  A DOS command that resides in a disk file.  DOS has
  72. "internal" and "external" commands.  Internal commands are stored in memory and
  73. can be executed even if a diskette containing DOS is not in use.  To execute an
  74. external command, a disk containing the command file must be in use.  The
  75. filenames of external commands are the same as the name of the command.  The
  76. filename extensions are either COM or EXE.  For example, the FORMAT command is
  77. stored on the DOS diskette as FORMAT.COM.  The SORT command is stored as
  78. SORT.EXE.
  79.  
  80. See also INTERNAL COMMAND.
  81.